﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for ShoppingCart
/// </summary>
public class GioHangDTO
{
    private String id;
    private int idSanPham;
    private int soLuong;
    private DateTime ngayLapGio;

    public string Id
    {
        get { return id; }
        set { id = value; }
    }

    public int IdSanPham
    {
        get { return idSanPham; }
        set { idSanPham = value; }
    }

    public int SoLuong
    {
        get { return soLuong; }
        set { soLuong = value; }
    }

    public DateTime NgayLapGio
    {
        get { return ngayLapGio; }
        set { ngayLapGio = value; }
    }

    public GioHangDTO()
	{
        soLuong = 0;
        ngayLapGio = DateTime.Now;
	}
}
